package com.yuke.cloud.service.api.pmc.service.hystrix;

import com.alibaba.fastjson.JSONObject;
import com.yuke.cloud.common.util.wrapper.Wrapper;
import com.yuke.cloud.service.api.pmc.dto.*;
import com.yuke.cloud.service.api.pmc.service.PmcFeignApi;
import com.yuke.cloud.service.api.smc.dto.ShopInfoDto;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Slf4j
@Component
public class PmcFeignHystrix implements PmcFeignApi {

    @Override
    public ProdSpecInfoDto getSpecInfoDtoBySpecId(Long specId) {
        log.info("getSpecInfoDtoBySpecId");
        return null;
    }

    @Override
    public Wrapper<String> getSpecNameBySpecId(Long specId) {
        log.info("getSpecDtoBySpecId熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoDto> getSpecInfoDtosByCategoryId(Long categoryId) {
        log.info("getSpecInfoDtosByCategoryId熔断");
        return null;
    }

    @Override
    public Wrapper<List<ProdSpecInfoDto>> getSpecInfoDtosByCondition(ProdSpecInfoDto prodSpecInfoDto) {
        log.info("getSpecInfoDtosByCondition熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoDto> getSpecInfoDtosBySpecIds(String specIds) {
        log.info("getSpecInfoDtosBySpecIds熔断");
        return null;
    }

    @Override
    public List<ProdCategoryDto> getCategorysBySpecId(Long specId) {
        log.info("getCategorysBySpecId熔断");
        return null;
    }

    @Override
    public List<ProdCategoryDto> getCategorysBySpecIds(List<Long> specIds) {
        log.info("getCategorysBySpecIds熔断");
        return null;
    }

    @Override
    public JSONObject getPriceBySpecId(Long specId) {
        log.info("getPriceBySpecId熔断");
        return null;
    }

    @Override
    public Wrapper<String> getRegionNameByRegionId(Long regionId) {
        log.info("getRegionNameByRegionId熔断");
        return null;
    }

    @Override
    public List<ShopInfoDto> getRegionNameByRegionIds(List<ShopInfoDto> shopInfoDtos) {
        log.info("getRegionNameByRegionIds熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoDto> getSpecBySpecName(ProdSpecInfoDto prodSpecInfoDto) {
        log.info("getSpecBySpecName熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoDto> getProdNameByProductId(List<Long> productIds) {
        log.info("getProdNameByProductId熔断");
        return null;
    }

    @Override
    public Wrapper updateSpecStockPrice(ProdSpecInfoDto prodSpecInfoDto) {
        log.info("updateSpecStockPrice熔断");
        return null;
    }

    @Override
    public Wrapper<List<RegionInfoDto>> getRegionIntroduceInfoByIds(List<Long> regionIds) {
        log.info("getRegionDetail熔断");
        return null;
    }

    @Override
    public Wrapper<List<FactoryInfoDto>> getFactoryDetail(List<Long> factoryIds) {
        log.info("getFactoryDetail熔断");
        return null;
    }

    @Override
    public Wrapper updateSpecSaleCount(List<ProdSpecInfoDto> prodSpecInfoDtos) {
        log.info("updateSpecSaleCount");
        return null;
    }

    @Override
    public Wrapper<List<ProdSpecInfoExDto>> getSpecBySpecIds(Long shopId, List<Long> specIds, Byte saleType) {
        log.info("getSpecBySpecIds熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoExDto> getSpecIds(ProdStorageDto prodStorageDto) {
        log.info("getSpecIds熔断 prodStorageDto={}",prodStorageDto);
        return null;
    }

    @Override
    public RegionInfoDto getProvinceAndCityInfoByCityId(Long cityId) {
        log.info("getProvinceAndCityInfoByCityId熔断");
       return null;
    }

    @Override
    public List<ProdSpecInfoDto> getImportSpecId(String specName) {
        log.info("getProvinceAndCityInfoByCityId熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoDto> getSpecDtosBySpecIds(List<Long> specIds){
        log.info("getSpecDtosBySpecIds熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoExDto> getAppSpecInfoBySpecIds(List<Long> specIds){
        log.info("getAppSpecInfoBySpecIds熔断");
        return null;
    }

    @Override
    public List<ProdAttributeDto> getFindProdAttribute(List<Long> specIds) {
        log.info("getFindProdAttribute熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoDto> getSpecInfoBySpecIds(List<Long> specIds){
        log.info("getAppSpecInfoBySpecIds熔断");
        return null;
    }

    @Override
    public List<Map> getRegionNameByCountyIds(List<Long> countys){
        log.info("getRegionNameByCountyIds熔断");
        return null;
    }

    @Override
    public List<ProdSpecInfoDto> getSpecIdByCategoryId(ProdCategoryDto prodCategoryDto) {
        log.info("getSpecIdByCategoryId熔断");
        return null;
    }

    @Override
    public List<ProdSpecApiDto> getSpecNameBySpecIds(List<Long> list) {
        log.info("getSpecNameBySpecId熔断");
        return null;
    }

    @Override
    public  List<Long> findLeaf(ProdCategoryDto prodCategoryDto) {
        log.info("findLeaf熔断");
        return null;
    }

    @Override
    public List<ProdSpecApiDto> findParent(List<Long> list) {
        log.info("findParent熔断");
        return null;
    }

    @Override
    public List<ProdSpecApiDto> checkSpeCode(List<String> specCode) {
        log.info("checkSpeCode熔断");
        return null;
    }


}
